chunk |
您所在的位置:网站首页 › vue error in v-on handler › chunk |
![]() 在 onLoad 里面用了 uni.createSelectorQuery() 查找要元素,导致找不到 handCenter 节点,因为元素还没有渲染出来,就开始查找元素,肯定会报错的。 解决方案:在外面套一层 this.$nextTick(),或者放在 onReady 里面就好了 ![]() |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |